const mongoose = require('mongoose')
const Schema = mongoose.Schema
const { ObjectId, Array, Number, Date, String } = Schema.Types
const Comment = Schema({
    commentid: ObjectId,
    proid: ObjectId,
    userid: ObjectId,
    imgs: Array,
    star: Number,
    content: String,
    msg: String,
    time: Date
})
module.exports = Comment
